// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
// import testLogin from '../../utils/LoginUtil'
import { nativePlugin } from 'vue-xiaobu-utils'
import NativeUntils from '@/utils/NativeUtils'
Vue.use(NativeUntils)
// testLogin()

if (window.FastClick) {
  window.FastClick.attach(window.document.body)
}
Vue.use(nativePlugin, {
  platform: true // true为cordova端，false为微信端
})
Vue.config.productionTip = false
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
